Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with font URLs without a ".woff2" extension. #48

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

MrMage
Copy link
Contributor

@MrMage MrMage commented Mar 14, 2024

Fixes #40. I have been encountering the same issue, resulting in an "Undefined array key 1" error. This PR fixes that.

I would have also updated the tests for this, but it seems like the HTTP requests to Google Fonts are currently not being mocked.

Fixes spatie#40. I have been encountering the same issue, resulting in an "Undefined array key 1" error. This PR fixes that.

I would have also updated the tests for this, but it seems like the HTTP requests to Google Fonts are currently not being mocked.
@sebastiandedeyne sebastiandedeyne merged commit 2ddd1c0 into spatie:main Mar 14, 2024
9 checks passed
@sebastiandedeyne
Copy link
Member

Looks good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Url with no extension?
2 participants